OPC Weatherford Event Directory Data Group
Note: The following details apply only for communicating with field devices using the Baker 8500 protocol; they are not applicable for the Modbus protocol (for example, the Matrikon OPC Server for SCADA Modbus).
The OPC Weatherford EIE "Event Directory" (EvtDir) data group gets all types of events from the remote device. On the View Data dialog of the "Event Directory" data group, from the Options drop-down menu, select Get selected event cards to read the cards associated with the highlighted event.
Card Method
The Card Method selection on the Device page of the OPC Weatherford EIE lets you choose whether to use function code FC16 (Legacy FC16/16Ext) or function code 25 (Current FC25) for the device. This selection applies to both Dynagraph cards and events.
Legacy (FC16/16Ext)
The Legacy device option has two types of events available:
-
Plain — Includes shutdown, pumpup, alarm, and many other Dynagraph cards. It is read using either data group ordinal 1 or 3.
-
Fault — Includes failure Dynagraph cards. It is read using data group ordinal 2.
Event IDs are not available for the legacy card method. An array of event times and reasons is returned when polled. The first event in the array (index 0) is the most recent. The array index is stored in the Event ID field, making the interface consistent with current messages. The value of this field is used to retrieve the associated dynagraph card.
Current (FC25)
The Current card method supports three types of events:
-
Plain — Includes shutdown and pumpup Dynagraph cards, along with many others. It is read using data group ordinal 1.
-
Fault — Represents all failure Dynagraph cards. It is read using data group ordinal 2.
-
Alarm — Represents all alarm Dynagraph cards. It is read using data group ordinal 3.
This event log contains more information than the log file obtained using the legacy method. Each event is assigned an immutable event ID. This event ID is used to retrieve all of the associated dynagraph cards.

